﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZhonTai.Industry.Services.ProductionLine.Dto.Input
{
    /// <summary>
    /// 产线配置新增输入
    /// </summary>
    public partial class ProductionLineAddInput
    {
        /// <summary>
        /// 产线编号
        /// </summary>
        [Required(ErrorMessage = "产线编号不能为空")]
        public string LineCode { get; set; }

        /// <summary>
        /// 产线名称
        /// </summary>
        [Required(ErrorMessage = "产线编号不能为空")]
        public string LineName { get; set; }

        /// <summary>
        /// 产线类型
        /// </summary>
        public string? LineType { get; set; }

        /// <summary>
        /// 产线状态
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 生产能力
        /// </summary>
        public int Capacity { get; set; }

        /// <summary>
        /// 每班次工作时长
        /// </summary>
        public int ShiftDuration { get; set; }

        /// <summary>
        /// 每周工作时长
        /// </summary>
        public int WorkHours { get; set; }

        /// <summary>
        /// 每天班次数量
        /// </summary>
        public int ShiftCount { get; set; }

        /// <summary>
        /// 开始运行时间
        /// </summary>
        public DateTime StartTime { get; set; }

        /// <summary>
        /// 停止运行时间
        /// </summary>
        public DateTime EndTime { get; set; }

        /// <summary>
        /// 位置
        /// </summary>
        public string? Location { get; set; }

        /// <summary>
        /// 设备清单
        /// </summary>
        public string? EquipmentList { get; set; }

        /// <summary>
        /// 工艺流程
        /// </summary>
        public string? ProcessFlow { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
    }
}